﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NLog;
using System.Diagnostics;

namespace PotatoSoft
{
    namespace VOCTS
    {
        namespace Log
        {
            public class Log
            {

                public static Logger Logger
                {
                    get
                    {
                        StackFrame frame = new StackFrame();
                        return LogManager.GetLogger(frame.GetMethod().DeclaringType.FullName);
                    }
                }
                //c# log save to file
                //log write interface
                //->information (timstomp, date and time, info)
                //warning       (----''------)
                //error         (----''------ + callStack)
                //critical      (----''------------------)
                //tracesource class <- poczytac o tym dokumentacje
            }
        }
    }
}
   